package com.wilmer.bankarea.domain;

import cn.hutool.json.JSONUtil;
import lombok.Data;

import java.util.List;

/**
 * 地区对象 bank_area
 *
 * @author hans
 * @date 2024-03-31
 */
@Data
public class BankArea {

    private Long areaId;

    private String areaName;

    private String children;

    public List<BankVo> getChildren() {
        return JSONUtil.toList(children, BankVo.class);
    }
}
